<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>音乐数据</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
    <div class="container mt-5">
        <h1 class="mb-4">音乐数据</h1>
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>日期</th>
                <th>艺术家</th>
                <th>标题</th>
            </tr>
            </thead>
            <tbody>
            {% for item in music_data %}
            <tr>
                <td>{{ item.id }}</td>
                <td>{{ item.date }}</td>
                <td>{{ item.artist }}</td>
                <td>{{ item.title }}</td>
            </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>
</body>
</html>
